package org.suwenqian.audiovideosummary.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("result")
public class Result {
    /**
     * 返回结果ID
     */
    private Long id;

    /**
     * 任务ID
     */
    private Long taskId;

    /**
     * 版本号
     */
    private Integer versionNo;

    /**
     * ASR 原文
     */
    private String fullText;

    /**
     * 摘要
     */
    private String summary;

    /**
     * 关键词数组
     */
    private List<String> keywordsJson;

    /**
     * 章节数组[{"start_ms":0,"end_ms":5000,"title":"..."}]
     */
    private List<Chapter> outlineJson;

    /**
     * 脑图 markdown
     */
    private String mindMapMd;

    /**
     * LLM总耗时(毫秒)
     */
    private Long costTimeMs;

    /**
     * 创建时间
     */
    private Date createdAt;
}
